<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.pizzaonline.utils.*"%>
<jsp:include page="hautDePage.jsp" flush="true">
	<jsp:param name="title" value="Ajout d'un ingrédient" />
</jsp:include>
<%
	//Utils.printHeader(out, "Ajout d'ingrédient", "css/style.css",null);
	out.print("<!-- current directory"+System.getProperty("user.dir")+" -->");
%>
<!-- <div id="conteneur"> -->
<div class="blocTexte">
<p><h3>Ajout d'un ingrédient</h3>
<a href="index.jsp" >Retour à l'accueil</a>
<br />

<form action="AjoutIngredient" method="post">
	<table align="center">
		<tr>
			<td><label>Nom *: </label></td>
			<td><input type="text" name="nom_ingredient" size="20" /></td>
		</tr>
		<tr>
			<td><label>Prix unitaire *: </label></td>
			<td><input type="text" name="prix_unitaire" size="20" /></td>
		</tr>
		<tr>
			<td><label>Quantité *: </label></td>
			<td><input type="text" name="qte" size="20" /></td>
		</tr>
		<tr>
			<td><label>Seuil *: </label></td>
			<td><input type="text" name="seuil" size="20" /></td>
		</tr>
		<tr>
			<td><label>Format : </label></td>
			<td><input type="text" name="format" size="20" /></td>
		</tr>
		<tr>
			<td><label>Catégorie *: </label></td>
			<td>
				<select name="categorie">
					<option value="Pizza" selected>Pizza</option>
					<option value="Boisson">Boisson</option>
					<option value="Salade">Salade</option>
					<option value="Dessert">Dessert</option>
				</select>
			</td>	
		</tr>
		<tr align="center">
			<td colspan="2">
				<input type="submit" value="Ajouter" />
				<input type="reset"	value="Réinitialiser" />
			</td>
		</tr>			
	</table>
</form>
</div>
<jsp:include page="basDePage.jsp" flush="true" />
<%
	//Utils.printFooter(out);
%>

